package com.agriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单
 */
@Data
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    // 订单状态
    private Integer status;

    //订单号
    private String orderNumber;

    // 结账时间
    private LocalDateTime checkoutTime;

    //实收金额
    private BigDecimal amount;

    // 优惠券 id
    private Long couponId;

    // 用户 id
    private Long userId;


}
